home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
progs
/
editor
/
frexxed
/
fpl
/
scrollall.fpl
< prev
next >
Wrap
Text File
|
1995-07-18
|
448b
|
16 lines
export int ScrollAll(int direction)
{
int inputid=GetEntryID(); // Current entry
int view_count=ReadInfo("views");
while (view_count--) {
CurrentBuffer(NextView()); // Make next view the current buffer
ScrollDown(direction); // Scroll
Status(); // Update the status line
}
CurrentBuffer(inputid); // Restore the initial entry
}
AssignKey("ScrollAll(-1);", "Shift '0x3E'");
AssignKey("ScrollAll(1);", "Shift '0x1E'");